
import requests


def request_get_url(url, params, headers=None):
    if not url:
        return None
    if not headers:
        headers = {
            'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36',
        }
    response = requests.get(url=url, params=params, headers=headers)
    return response.json()

